try {
	Type.registerNamespace('PoArriveScanVO');
	//到货计划扫描表VO
	PoArriveScanVO = function() {};
	PoArriveScanVO.prototype = new NCMMPubUtil.SuperVO();
	PoArriveScanVO.PK_POARRIVESCAN = {
		name: "pk_poarrivescan",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购订单主键**
	PoArriveScanVO.PK_ORDER = {
		name: "pk_order",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购单号
	PoArriveScanVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单据日期
	PoArriveScanVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购部门
    PoArriveScanVO.PK_DEPT_NAME = {
        name: "pk_dept_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	//采购订单明细**
	PoArriveScanVO.PK_ORDER_B = {
		name: "pk_order_b",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	PoArriveScanVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可到货主数量
	PoArriveScanVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可到货数量
	PoArriveScanVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	PoArriveScanVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
    PoArriveScanVO.CASTUNITID_NAME = {
        name: "castunitid_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
    //换算率
     PoArriveScanVO.VCHANGERATE = {
        name: "vchangerate",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };
	//计划到货日期**
	PoArriveScanVO.DPLANARRVDATE = {
		name: "dplanarrvdate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
		//物料
	PoArriveScanVO.PK_MATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//表头ts
	PoArriveScanVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//供应商名称
	PoArriveScanVO.PK_SUPPLIER_NAME = {
		name: "pk_supplier_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商
	PoArriveScanVO.PK_SUPPLIER = {
		name: "pk_supplier",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库**
	PoArriveScanVO.PK_RECVSTORDOC = {
		name: "pk_recvstordoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库名称**
	PoArriveScanVO.PK_RECVSTORDOC_NAME = {
		name: "pk_recvstordoc_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	PoArriveScanVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	PoArriveScanVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料简称
	PoArriveScanVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//物料编码
	PoArriveScanVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体ts
	PoArriveScanVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//主单位
	PoArriveScanVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
    PoArriveScanVO.CUNITID_NAME = {
        name: "cunitid_name",
        type: NCMMPubUtil.VALUE_TYPE_TEXT
    };	
	//批次号编码
	PoArriveScanVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	PoArriveScanVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描主数量
	PoArriveScanVO.NSCANNUM = {
		name: "nscannum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	PoArriveScanVO.NSCANASTNUM = {
		name: "nscanastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//行号
	PoArriveScanVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商批次号
	PoArriveScanVO.BC_VVENDBATCHCODE = {
		name: "bc_vvendbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	PoArriveScanVO.prototype.getAllAttrs = function() {
		return [
		    PoArriveScanVO.PK_POARRIVESCAN,
			PoArriveScanVO.PK_ORDER,
			PoArriveScanVO.PK_ORDER_B,
			PoArriveScanVO.MATERIALNAME,
			PoArriveScanVO.NNUM,
			PoArriveScanVO.NASTNUM,
			PoArriveScanVO.VBILLCODE,
			PoArriveScanVO.DBILLDATE,
			PoArriveScanVO.DPLANARRVDATE,
			PoArriveScanVO.HTS,
			PoArriveScanVO.PK_SUPPLIER_NAME,
			PoArriveScanVO.PK_RECVSTORDOC,
			PoArriveScanVO.PK_RECVSTORDOC_NAME,
			PoArriveScanVO.PK_MATERIAL,
			PoArriveScanVO.MATERIALSPEC,
			PoArriveScanVO.MATERIALTYPE,
			PoArriveScanVO.MATERIALSHORTNAME,
			PoArriveScanVO.MATERIALCODE,
			PoArriveScanVO.PK_DEPT_NAME,
			PoArriveScanVO.BTS,
			PoArriveScanVO.CASTUNITID,
			PoArriveScanVO.CASTUNITID_NAME,
			PoArriveScanVO.CUNITID,
			PoArriveScanVO.CUNITID_NAME,
			PoArriveScanVO.VCHANGERATE,
			PoArriveScanVO.VBATCHCODE,
			PoArriveScanVO.PK_BATCHCODE,
			PoArriveScanVO.NSCANNUM,
			PoArriveScanVO.NSCANASTNUM,
			PoArriveScanVO.CROWNO,
			PoArriveScanVO.BC_VVENDBATCHCODE
		
		];
	};
	PoArriveScanVO.prototype.getTableName = function() {
		return "po_arrive_scan";
	};
	PoArriveScanVO.prototype.getPrimaryAttr = function() {
		return PoArriveScanVO.PK_POARRIVESCAN;
	};

} catch(e) {
	$e(e);
}